package conn;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory {

	public Connection getConnection() {

		try {
			return DriverManager
					.getConnection("jdbc:mysql://localhost:3306/produto",
							"ricardo", "canudos");
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return null;

	}

}
